package com.itcncp.wechat.app.dao.mapper;

import com.itcncp.wechat.app.dao.model.UserCustomerInfo;
import com.itcncp.wechat.app.dao.model.UserCustomerInfoExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserCustomerInfoMapper {
    long countByExample(UserCustomerInfoExample example);

    int deleteByExample(UserCustomerInfoExample example);

    int deleteByPrimaryKey(Long userId);

    int insert(UserCustomerInfo record);

    int insertSelective(UserCustomerInfo record);

    List<UserCustomerInfo> selectByExample(UserCustomerInfoExample example);

    UserCustomerInfo selectByPrimaryKey(Long userId);

    int updateByExampleSelective(@Param("record") UserCustomerInfo record, @Param("example") UserCustomerInfoExample example);

    int updateByExample(@Param("record") UserCustomerInfo record, @Param("example") UserCustomerInfoExample example);

    int updateByPrimaryKeySelective(UserCustomerInfo record);

    int updateByPrimaryKey(UserCustomerInfo record);
}